using System;

 namespace ClassEntities 
{
	 [Serializable]
	 public class tblBaiThi_GiangVien
	{
	private int stt;
	private int idBaiThi;
	private int idGV;
	private DateTime ngayCham;
	private string gvNhanXet;
	private int laDung;
	public tblBaiThi_GiangVien()
	{}
	public tblBaiThi_GiangVien(int stt,int idBaiThi,int idGV,DateTime ngayCham,string gvNhanXet,int laDung)
	{
	this.stt = stt;
	this.idBaiThi = idBaiThi;
	this.idGV = idGV;
	this.ngayCham = ngayCham;
	this.gvNhanXet = gvNhanXet;
	this.laDung = laDung;
	}
	public int Stt{
	get { return this.stt;}
	set { if(value==null) 
		throw new Exception("stt not allow nullvalue.");
		this.stt=value;
	}	}
	public int IdBaiThi{
	get { return this.idBaiThi;}
	set {this.idBaiThi=value;}
	}
	public int IdGV{
	get { return this.idGV;}
	set {this.idGV=value;}
	}
	public DateTime NgayCham{
	get { return this.ngayCham;}
	set {this.ngayCham=value;}
	}
	public string GvNhanXet{
	get { return this.gvNhanXet;}
	set {this.gvNhanXet=value;}
	}
	public int LaDung{
	get { return this.laDung;}
	set {this.laDung=value;}
	}
	public override string ToString(){
	return this.stt+"; "+this.idBaiThi+"; "+this.idGV+"; "+this.ngayCham+"; "+this.gvNhanXet+"; "+this.laDung+"; ";
	}
	public override bool Equals(Object obj)
	{
	tblBaiThi_GiangVien me=(tblBaiThi_GiangVien)obj;
	bool ret=this.Stt.Equals(me.Stt);
	return ret;
	}
	public override int GetHashCode()
	{
	return this.Stt.GetHashCode();
	}

	}
} 